﻿<controls:ChildWindow xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                      xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                      mc:Ignorable="d"
                      x:Class="GiveAQuiz.QuizManager.Views.QuizCompleteDialog"
                      Width="469"
                      Height="306"
                      Title="Quiz Complete">
  <Grid x:Name="LayoutRoot"
        Margin="2">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto"
                     MinHeight="66" />
      <RowDefinition />
      <RowDefinition Height="Auto"
                     MinHeight="38" />
      <RowDefinition Height="Auto"
                     MinHeight="28" />
    </Grid.RowDefinitions>

    <Button x:Name="OKButton"
            Content="Close"
            Click="OKButton_Click"
            Width="94"
            HorizontalAlignment="Right"
            Grid.Row="3" />
    <TextBlock Margin="8"
               TextWrapping="Wrap"
               FontSize="16"
               Text="Thank you for completing the quiz. We will now return you to the &quot;Take a Quiz&quot; page in case you need to take additional quizzes. " />
    <TextBlock Margin="8"
               TextWrapping="Wrap"
               FontSize="16"
               TextAlignment="Right"
               Text="- The GiveAQuiz.com Team!"
               Grid.Row="2" />
    <TextBlock Margin="8,24,0,0"
               TextWrapping="Wrap"
               FontSize="16"
               Text="Your Results*:"
               HorizontalAlignment="Left"
               Width="128"
               TextAlignment="Right"
               Height="27"
               Grid.Row="1"
               VerticalAlignment="Top" />
    <TextBlock x:Name="resultText"
               Margin="140,24,8,0"
               TextWrapping="Wrap"
               FontSize="16"
               FontWeight="Bold"
               FontStyle="Italic"
               Height="27"
               Grid.Row="1"
               VerticalAlignment="Top" />
    <TextBlock Margin="0,3,107,0"
               TextWrapping="Wrap"
               FontSize="10.667"
               Grid.Row="3"
               Text="* Some questions could not be scored automatically (e.g. essay questions) so your percentage only includes explictly graded questions." />
  </Grid>
</controls:ChildWindow>